package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Requirement;
import cn.wolfcode.crm.query.PageResult;
import cn.wolfcode.crm.query.RequireQueryObject;

import java.util.List;

public interface IRequirementService {

    void insert(Requirement entity);

    void delete(Long id);

    void update(Requirement entity);

    Requirement get(Long id);

    List<Requirement> list();

    /**
     * 分页查询
     * @param qo 查询条件
     * @return
     */
    PageResult query(RequireQueryObject qo);
}
